/**
 * interface which represent a group of attachments of values -a group of assignment
 * the assignments will be kept in a database and allow access to it.
 * @author Nadav Cohen, Matan Monitz
 *
 */
public interface Assignments {

	/**
	 * returns the value of a specific variable in the Array
	 * @param var - the variable to look up in the object - it must exist in the array
	 * @return the value of the requested variable
	 */
		
	public double valueOf(Variable var);
	/**
	 * add or update a value assignment for evaluating the mathematical expression
	 * @param assignment takes an initialized assignment object and adds it to the ArrayAssignments main array field.<br> if variable already has an assignment in this object updates it's value instead 
	 */

	public void addAssignment(Assignment assignment);

}
